package com.atguigu.lease.admin.service;

import com.atguigu.lease.model.bean.ApartmentInfo;
import com.atguigu.lease.model.dto.ApartmentItemQueryDto;
import com.atguigu.lease.model.dto.ApartmentSubmitDto;
import com.atguigu.lease.model.vo.ApartmentDetailVo;
import com.atguigu.lease.model.vo.ApartmentItemVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 1
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Service
* @createDate 2025-09-22 17:18:51
*/
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    Page<ApartmentItemVo> getPageItem(ApartmentItemQueryDto queryDto);

    void saveOrUpdateApartmentSubmitDto(ApartmentSubmitDto apartmentSubmitDto);

    void removeApartmentInfoById(Long id);

    ApartmentDetailVo getDetailById(Integer id);
}
